package com.dubbo.service;


import com.alibaba.dubbo.config.annotation.Service;
import com.dubbo.entity.Admin;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
@Service(interfaceName = "com.dubbo.service.AdminService", version = "1.0.0")
//@Service(interfaceClass = AdminService.class,version = "1.0.0",timeout = 15)
public interface AdminService {

    Admin selectByPrimaryKey(Long id);

    List<Admin> selectAll();
}
